package org.yang.loginunion.core.wx.miniapp.request;

import org.yang.loginunion.core.wx.miniapp.model.MaSession;
import org.yang.loginunion.core.wx.miniapp.model.MaSessionPhoneNumber;

/**
 * 微信小程序API对接（方式一）
 *
 * @author Billyang
 * @date 2024/8/9 17:48
 */
public interface IMaRequest {

    MaSession getSessionInfo(String code);

    MaSessionPhoneNumber getSessionInfoAndPhoneNumber(String encryptedData, String iv, String code);
}
